<template>
  <div>
    <van-nav-bar title="我的资料" left-text="返回" left-arrow @click-left="() => $router.go(-1)" />
    <van-cell-group style="text-align:left">
      <van-cell title="我的头像" size="large" style="align-items:center">
        <template #right-icon>
          <img :src="$store.state.userInfo.avator" width="70px" height="70px">
        </template>
      </van-cell>
      <van-cell title="我的昵称" size="large" :value="$store.state.userInfo.nickname" />
      <van-cell title="性别" size="large" :value="$store.state.userInfo.sex" />
      <van-cell title="我的学校" size="large" :value="$store.state.userInfo.school" />
      <van-cell title="手机号" size="large" :value="$store.state.userInfo.phone" />
      <van-cell title="更改密码" is-link size="large" value="********" to="/password" />
    </van-cell-group>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>